import http from "../../request.js";

// 获取购物车列表
function findAllCartItem() {
	return http({
		url:'/lejuClient/cart/findAllCartItem',
	})
}

// 购物车1.生成确认单
function addPreOrder(data) {
	return http({
		url:'/lejuClient/order/addPreOrder',
		method:'post',
		data
	})
}

// 删除
function delCartItems(data) {
	return http({
		url:'/lejuClient/cart/delCartItems',
		method:'post',
		data
	})
}

export { findAllCartItem , addPreOrder , delCartItems }